.class public Lcom/nbi/map/data/Place;
.super Ljava/lang/Object;

# interfaces
.implements Lcom/nbi/common/NBIObject;


# instance fields
.field private zm:Lnbisdk/ej;

.field private zn:Lcom/nbi/map/data/MapLocation;


# direct methods
.method public constructor <init>()V
    .locals 1

    const/4 v0, 0x0

    invoke-direct {p0, v0, v0}, Lcom/nbi/map/data/Place;-><init>(Ljava/lang/String;Lcom/nbi/map/data/MapLocation;)V

    return-void
.end method

.method public constructor <init>(Lcom/nbi/location/Location;)V
    .locals 3

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    new-instance v0, Lcom/nbi/map/data/MapLocation;

    invoke-direct {v0}, Lcom/nbi/map/data/MapLocation;-><init>()V

    invoke-virtual {p1}, Lcom/nbi/location/Location;->getLatitude()D

    move-result-wide v1

    invoke-virtual {v0, v1, v2}, Lcom/nbi/map/data/MapLocation;->setLatitude(D)V

    invoke-virtual {p1}, Lcom/nbi/location/Location;->getLongitude()D

    move-result-wide v1

    invoke-virtual {v0, v1, v2}, Lcom/nbi/map/data/MapLocation;->setLongitude(D)V

    new-instance v1, Lnbisdk/ej;

    invoke-direct {v1}, Lnbisdk/ej;-><init>()V

    iput-object v1, p0, Lcom/nbi/map/data/Place;->zm:Lnbisdk/ej;

    invoke-virtual {p0, v0}, Lcom/nbi/map/data/Place;->setLocation(Lcom/nbi/map/data/MapLocation;)V

    return-void
.end method

.method public constructor <init>(Ljava/lang/Object;)V
    .locals 2

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    check-cast p1, Lnbisdk/ej;

    iput-object p1, p0, Lcom/nbi/map/data/Place;->zm:Lnbisdk/ej;

    new-instance v0, Lcom/nbi/map/data/MapLocation;

    iget-object v1, p0, Lcom/nbi/map/data/Place;->zm:Lnbisdk/ej;

    invoke-virtual {v1}, Lnbisdk/ej;->y()Lnbisdk/so;

    move-result-object v1

    invoke-direct {v0, v1}, Lcom/nbi/map/data/MapLocation;-><init>(Ljava/lang/Object;)V

    iput-object v0, p0, Lcom/nbi/map/data/Place;->zn:Lcom/nbi/map/data/MapLocation;

    return-void
.end method

.method public constructor <init>(Ljava/lang/String;Lcom/nbi/map/data/MapLocation;)V
    .locals 2

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    iput-object p2, p0, Lcom/nbi/map/data/Place;->zn:Lcom/nbi/map/data/MapLocation;

    new-instance v0, Lnbisdk/ej;

    invoke-direct {p0}, Lcom/nbi/map/data/Place;->la()Lnbisdk/so;

    move-result-object v1

    invoke-direct {v0, p1, v1}, Lnbisdk/ej;-><init>(Ljava/lang/String;Lnbisdk/so;)V

    iput-object v0, p0, Lcom/nbi/map/data/Place;->zm:Lnbisdk/ej;

    return-void
.end method

.method public constructor <init>([B)V
    .locals 9
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/lang/NumberFormatException;
        }
    .end annotation

    const/4 v6, 0x0

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    new-instance v0, Ljava/lang/String;

    invoke-direct {v0, p1}, Ljava/lang/String;-><init>([B)V

    const-string v1, "."

    invoke-static {v0, v1}, Lcom/nbi/map/util/StringSplitter;->split(Ljava/lang/String;Ljava/lang/String;)[Ljava/lang/String;

    move-result-object v0

    new-instance v1, Lnbisdk/so;

    invoke-direct {v1}, Lnbisdk/so;-><init>()V

    aget-object v2, v0, v6

    invoke-virtual {p0, v2}, Lcom/nbi/map/data/Place;->makeUnicodeString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    const/4 v3, 0x1

    aget-object v3, v0, v3

    invoke-virtual {p0, v3}, Lcom/nbi/map/data/Place;->makeUnicodeString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v1, v3}, Lnbisdk/so;->setAirport(Ljava/lang/String;)V

    const/4 v3, 0x2

    aget-object v3, v0, v3

    invoke-virtual {p0, v3}, Lcom/nbi/map/data/Place;->makeUnicodeString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v1, v3}, Lnbisdk/so;->setFreeform(Ljava/lang/String;)V

    const/4 v3, 0x3

    aget-object v3, v0, v3

    invoke-virtual {p0, v3}, Lcom/nbi/map/data/Place;->makeUnicodeString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v1, v3}, Lnbisdk/so;->setAddress(Ljava/lang/String;)V

    const/4 v3, 0x4

    aget-object v3, v0, v3

    invoke-virtual {p0, v3}, Lcom/nbi/map/data/Place;->makeUnicodeString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v1, v3}, Lnbisdk/so;->setStreet(Ljava/lang/String;)V

    const/4 v3, 0x5

    aget-object v3, v0, v3

    invoke-virtual {p0, v3}, Lcom/nbi/map/data/Place;->makeUnicodeString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v1, v3}, Lnbisdk/so;->setCrossStreet(Ljava/lang/String;)V

    const/4 v3, 0x6

    aget-object v3, v0, v3

    invoke-virtual {p0, v3}, Lcom/nbi/map/data/Place;->makeUnicodeString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v1, v3}, Lnbisdk/so;->setCity(Ljava/lang/String;)V

    const/4 v3, 0x7

    aget-object v3, v0, v3

    invoke-virtual {p0, v3}, Lcom/nbi/map/data/Place;->makeUnicodeString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v1, v3}, Lnbisdk/so;->setCounty(Ljava/lang/String;)V

    const/16 v3, 0x8

    aget-object v3, v0, v3

    invoke-virtual {p0, v3}, Lcom/nbi/map/data/Place;->makeUnicodeString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v1, v3}, Lnbisdk/so;->setState(Ljava/lang/String;)V

    const/16 v3, 0x9

    aget-object v3, v0, v3

    invoke-virtual {p0, v3}, Lcom/nbi/map/data/Place;->makeUnicodeString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v1, v3}, Lnbisdk/so;->setPostal(Ljava/lang/String;)V

    const/16 v3, 0xa

    aget-object v3, v0, v3

    invoke-virtual {p0, v3}, Lcom/nbi/map/data/Place;->makeUnicodeString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v1, v3}, Lnbisdk/so;->setCountry(Ljava/lang/String;)V

    const/16 v3, 0xb

    aget-object v3, v0, v3

    invoke-virtual {p0, v3}, Lcom/nbi/map/data/Place;->makeUnicodeString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v1, v3}, Lnbisdk/so;->setAreaName(Ljava/lang/String;)V

    const/16 v3, 0xc

    aget-object v3, v0, v3

    invoke-virtual {p0, v3}, Lcom/nbi/map/data/Place;->makeUnicodeString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v3

    invoke-static {v3}, Ljava/lang/Double;->parseDouble(Ljava/lang/String;)D

    move-result-wide v3

    invoke-virtual {v1, v3, v4}, Lnbisdk/so;->setLatitude(D)V

    const/16 v3, 0xd

    aget-object v3, v0, v3

    invoke-virtual {p0, v3}, Lcom/nbi/map/data/Place;->makeUnicodeString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v3

    invoke-static {v3}, Ljava/lang/Double;->parseDouble(Ljava/lang/String;)D

    move-result-wide v3

    invoke-virtual {v1, v3, v4}, Lnbisdk/so;->setLongitude(D)V

    new-instance v3, Lnbisdk/ej;

    invoke-direct {v3, v2, v1}, Lnbisdk/ej;-><init>(Ljava/lang/String;Lnbisdk/so;)V

    iput-object v3, p0, Lcom/nbi/map/data/Place;->zm:Lnbisdk/ej;

    new-instance v1, Lcom/nbi/map/data/MapLocation;

    iget-object v2, p0, Lcom/nbi/map/data/Place;->zm:Lnbisdk/ej;

    invoke-virtual {v2}, Lnbisdk/ej;->y()Lnbisdk/so;

    move-result-object v2

    invoke-direct {v1, v2}, Lcom/nbi/map/data/MapLocation;-><init>(Ljava/lang/Object;)V

    iput-object v1, p0, Lcom/nbi/map/data/Place;->zn:Lcom/nbi/map/data/MapLocation;

    const/16 v1, 0xe

    aget-object v1, v0, v1

    invoke-virtual {p0, v1}, Lcom/nbi/map/data/Place;->makeUnicodeString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    invoke-static {v1}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I

    move-result v1

    move v2, v6

    :goto_0
    if-ge v2, v1, :cond_0

    mul-int/lit8 v3, v2, 0x2

    add-int/lit8 v3, v3, 0xf

    aget-object v3, v0, v3

    invoke-virtual {p0, v3}, Lcom/nbi/map/data/Place;->makeUnicodeString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v3

    mul-int/lit8 v4, v2, 0x2

    add-int/lit8 v4, v4, 0xf

    add-int/lit8 v4, v4, 0x1

    aget-object v4, v0, v4

    invoke-virtual {p0, v4}, Lcom/nbi/map/data/Place;->makeUnicodeString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v4

    new-instance v5, Lcom/nbi/map/data/Category;

    invoke-direct {v5, v3, v4}, Lcom/nbi/map/data/Category;-><init>(Ljava/lang/String;Ljava/lang/String;)V

    invoke-virtual {p0, v5}, Lcom/nbi/map/data/Place;->addCategory(Lcom/nbi/map/data/Category;)V

    add-int/lit8 v2, v2, 0x1

    goto :goto_0

    :cond_0
    mul-int/lit8 v1, v1, 0x2

    add-int/lit8 v1, v1, 0xf

    add-int/lit8 v2, v1, 0x1

    aget-object v1, v0, v1

    invoke-virtual {p0, v1}, Lcom/nbi/map/data/Place;->makeUnicodeString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    invoke-static {v1}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I

    move-result v1

    move v3, v6

    :goto_1
    if-ge v3, v1, :cond_1

    mul-int/lit8 v4, v3, 0x4

    add-int/2addr v4, v2

    aget-object v4, v0, v4

    invoke-virtual {p0, v4}, Lcom/nbi/map/data/Place;->makeUnicodeString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v4

    invoke-static {v4}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I

    move-result v4

    mul-int/lit8 v5, v3, 0x4

    add-int/2addr v5, v2

    add-int/lit8 v5, v5, 0x1

    aget-object v5, v0, v5

    invoke-virtual {p0, v5}, Lcom/nbi/map/data/Place;->makeUnicodeString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v5

    mul-int/lit8 v6, v3, 0x4

    add-int/2addr v6, v2

    add-int/lit8 v6, v6, 0x2

    aget-object v6, v0, v6

    invoke-virtual {p0, v6}, Lcom/nbi/map/data/Place;->makeUnicodeString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v6

    mul-int/lit8 v7, v3, 0x4

    add-int/2addr v7, v2

    add-int/lit8 v7, v7, 0x3

    aget-object v7, v0, v7

    invoke-virtual {p0, v7}, Lcom/nbi/map/data/Place;->makeUnicodeString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v7

    new-instance v8, Lcom/nbi/map/data/Phone;

    invoke-direct {v8, v4, v5, v6, v7}, Lcom/nbi/map/data/Phone;-><init>(ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;)V

    invoke-virtual {p0, v8}, Lcom/nbi/map/data/Place;->addPhoneNumber(Lcom/nbi/map/data/Phone;)V

    add-int/lit8 v3, v3, 0x1

    goto :goto_1

    :cond_1
    return-void
.end method

.method private static b(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
    .locals 4

    if-nez p0, :cond_0

    const-string v0, ""

    :goto_0
    return-object v0

    :cond_0
    new-instance v0, Ljava/lang/StringBuffer;

    invoke-direct {v0}, Ljava/lang/StringBuffer;-><init>()V

    const/4 v1, 0x0

    :goto_1
    invoke-virtual {p0, p1, v1}, Ljava/lang/String;->indexOf(Ljava/lang/String;I)I

    move-result v2

    const/4 v3, -0x1

    if-eq v2, v3, :cond_1

    invoke-virtual {p0, v1, v2}, Ljava/lang/String;->substring(II)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuffer;->append(Ljava/lang/String;)Ljava/lang/StringBuffer;

    invoke-virtual {v0, p2}, Ljava/lang/StringBuffer;->append(Ljava/lang/String;)Ljava/lang/StringBuffer;

    invoke-virtual {p1}, Ljava/lang/String;->length()I

    move-result v1

    add-int/2addr v1, v2

    goto :goto_1

    :cond_1
    invoke-virtual {p0, v1}, Ljava/lang/String;->substring(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuffer;->append(Ljava/lang/String;)Ljava/lang/StringBuffer;

    invoke-virtual {v0}, Ljava/lang/StringBuffer;->toString()Ljava/lang/String;

    move-result-object v0

    goto :goto_0
.end method

.method private la()Lnbisdk/so;
    .locals 1

    iget-object v0, p0, Lcom/nbi/map/data/Place;->zn:Lcom/nbi/map/data/MapLocation;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/nbi/map/data/Place;->zn:Lcom/nbi/map/data/MapLocation;

    invoke-virtual {v0}, Lcom/nbi/map/data/MapLocation;->getInternalObject()Ljava/lang/Object;

    move-result-object p0

    check-cast p0, Lnbisdk/so;

    move-object v0, p0

    :goto_0
    return-object v0

    :cond_0
    const/4 v0, 0x0

    goto :goto_0
.end method

.method public static makeStringForApp2App(Ljava/lang/String;)Ljava/lang/String;
    .locals 5

    if-eqz p0, :cond_0

    const-string v0, ""

    invoke-virtual {p0, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_1

    :cond_0
    const-string v0, ""

    :goto_0
    return-object v0

    :cond_1
    invoke-static {p0}, Lnbisdk/rx;->encode(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    new-instance v1, Ljava/lang/StringBuffer;

    invoke-direct {v1}, Ljava/lang/StringBuffer;-><init>()V

    const/4 v2, 0x0

    :goto_1
    invoke-virtual {v0}, Ljava/lang/String;->length()I

    move-result v3

    if-ge v2, v3, :cond_4

    invoke-virtual {v0, v2}, Ljava/lang/String;->charAt(I)C

    move-result v3

    const/16 v4, 0x2b

    if-ne v3, v4, :cond_2

    const-string v3, "%20"

    invoke-virtual {v1, v3}, Ljava/lang/StringBuffer;->append(Ljava/lang/String;)Ljava/lang/StringBuffer;

    :goto_2
    add-int/lit8 v2, v2, 0x1

    goto :goto_1

    :cond_2
    invoke-virtual {v0, v2}, Ljava/lang/String;->charAt(I)C

    move-result v3

    const/16 v4, 0x26

    if-ne v3, v4, :cond_3

    const-string v3, "%26"

    invoke-virtual {v1, v3}, Ljava/lang/StringBuffer;->append(Ljava/lang/String;)Ljava/lang/StringBuffer;

    goto :goto_2

    :cond_3
    invoke-virtual {v0, v2}, Ljava/lang/String;->charAt(I)C

    move-result v3

    invoke-virtual {v1, v3}, Ljava/lang/StringBuffer;->append(C)Ljava/lang/StringBuffer;

    goto :goto_2

    :cond_4
    invoke-virtual {v1}, Ljava/lang/StringBuffer;->toString()Ljava/lang/String;

    move-result-object v0

    goto :goto_0
.end method

.method private static q(D)Ljava/lang/String;
    .locals 4

    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    const-string v1, ""

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0, p0, p1}, Ljava/lang/StringBuilder;->append(D)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    const-string v1, "."

    invoke-virtual {v0, v1}, Ljava/lang/String;->indexOf(Ljava/lang/String;)I

    move-result v1

    const/4 v2, -0x1

    if-eq v1, v2, :cond_0

    invoke-virtual {v0}, Ljava/lang/String;->length()I

    move-result v2

    add-int/lit8 v3, v1, 0x6

    add-int/lit8 v3, v3, 0x1

    if-le v2, v3, :cond_0

    const/4 v2, 0x0

    add-int/lit8 v1, v1, 0x6

    add-int/lit8 v1, v1, 0x1

    invoke-virtual {v0, v2, v1}, Ljava/lang/String;->substring(II)Ljava/lang/String;

    move-result-object v0

    :cond_0
    return-object v0
.end method


# virtual methods
.method public addCategory(Lcom/nbi/map/data/Category;)V
    .locals 1

    iget-object v0, p0, Lcom/nbi/map/data/Place;->zm:Lnbisdk/ej;

    invoke-virtual {p1}, Lcom/nbi/map/data/Category;->getInternalObject()Ljava/lang/Object;

    move-result-object p0

    check-cast p0, Lnbisdk/iv;

    invoke-virtual {v0, p0}, Lnbisdk/ej;->a(Lnbisdk/iv;)V

    return-void
.end method

.method public addPhoneNumber(Lcom/nbi/map/data/Phone;)V
    .locals 1

    iget-object v0, p0, Lcom/nbi/map/data/Place;->zm:Lnbisdk/ej;

    invoke-virtual {p1}, Lcom/nbi/map/data/Phone;->getInternalObject()Ljava/lang/Object;

    move-result-object p0

    check-cast p0, Lnbisdk/eq;

    invoke-virtual {v0, p0}, Lnbisdk/ej;->a(Lnbisdk/eq;)V

    return-void
.end method

.method public addPlaceDetail(Lcom/nbi/map/data/Pair;)V
    .locals 1

    iget-object v0, p0, Lcom/nbi/map/data/Place;->zm:Lnbisdk/ej;

    invoke-virtual {p1}, Lcom/nbi/map/data/Pair;->getInternalObject()Ljava/lang/Object;

    move-result-object p0

    check-cast p0, Lnbisdk/of;

    invoke-virtual {v0, p0}, Lnbisdk/ej;->a(Lnbisdk/of;)V

    return-void
.end method

.method public clearCategories()V
    .locals 1

    iget-object v0, p0, Lcom/nbi/map/data/Place;->zm:Lnbisdk/ej;

    invoke-virtual {v0}, Lnbisdk/ej;->clearCategories()V

    return-void
.end method

.method public clearPhoneNumbers()V
    .locals 1

    iget-object v0, p0, Lcom/nbi/map/data/Place;->zm:Lnbisdk/ej;

    invoke-virtual {v0}, Lnbisdk/ej;->clearPhoneNumbers()V

    return-void
.end method

.method public copy(Lcom/nbi/map/data/Place;)V
    .locals 1

    iget-object v0, p1, Lcom/nbi/map/data/Place;->zn:Lcom/nbi/map/data/MapLocation;

    iput-object v0, p0, Lcom/nbi/map/data/Place;->zn:Lcom/nbi/map/data/MapLocation;

    iget-object v0, p1, Lcom/nbi/map/data/Place;->zm:Lnbisdk/ej;

    iput-object v0, p0, Lcom/nbi/map/data/Place;->zm:Lnbisdk/ej;

    return-void
.end method

.method public getCategoriesCount()I
    .locals 1

    iget-object v0, p0, Lcom/nbi/map/data/Place;->zm:Lnbisdk/ej;

    invoke-virtual {v0}, Lnbisdk/ej;->getCategoriesCount()I

    move-result v0

    return v0
.end method

.method public getCategory(I)Lcom/nbi/map/data/Category;
    .locals 2
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/lang/IndexOutOfBoundsException;
        }
    .end annotation

    new-instance v0, Lcom/nbi/map/data/Category;

    iget-object v1, p0, Lcom/nbi/map/data/Place;->zm:Lnbisdk/ej;

    invoke-virtual {v1, p1}, Lnbisdk/ej;->Q(I)Lnbisdk/iv;

    move-result-object v1

    invoke-direct {v0, v1}, Lcom/nbi/map/data/Category;-><init>(Ljava/lang/Object;)V

    return-object v0
.end method

.method public getInternalObject()Ljava/lang/Object;
    .locals 1

    iget-object v0, p0, Lcom/nbi/map/data/Place;->zm:Lnbisdk/ej;

    return-object v0
.end method

.method public getLocation()Lcom/nbi/map/data/MapLocation;
    .locals 1

    iget-object v0, p0, Lcom/nbi/map/data/Place;->zn:Lcom/nbi/map/data/MapLocation;

    return-object v0
.end method

.method public getName()Ljava/lang/String;
    .locals 1

    iget-object v0, p0, Lcom/nbi/map/data/Place;->zm:Lnbisdk/ej;

    invoke-virtual {v0}, Lnbisdk/ej;->getName()Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method public getPhoneNumber(I)Lcom/nbi/map/data/Phone;
    .locals 2
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/lang/IndexOutOfBoundsException;
        }
    .end annotation

    new-instance v0, Lcom/nbi/map/data/Phone;

    iget-object v1, p0, Lcom/nbi/map/data/Place;->zm:Lnbisdk/ej;

    invoke-virtual {v1, p1}, Lnbisdk/ej;->P(I)Lnbisdk/eq;

    move-result-object v1

    invoke-direct {v0, v1}, Lcom/nbi/map/data/Phone;-><init>(Ljava/lang/Object;)V

    return-object v0
.end method

.method public getPhoneNumberCount()I
    .locals 1

    iget-object v0, p0, Lcom/nbi/map/data/Place;->zm:Lnbisdk/ej;

    invoke-virtual {v0}, Lnbisdk/ej;->getPhoneNumberCount()I

    move-result v0

    return v0
.end method

.method public makeSafeString(Ljava/lang/String;)Ljava/lang/String;
    .locals 6

    if-eqz p1, :cond_0

    const-string v0, ""

    invoke-virtual {p1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_1

    :cond_0
    const-string v0, ""

    :goto_0
    return-object v0

    :cond_1
    invoke-static {p1}, Lnbisdk/rx;->encode(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    new-instance v1, Ljava/lang/StringBuffer;

    invoke-direct {v1}, Ljava/lang/StringBuffer;-><init>()V

    invoke-virtual {v0}, Ljava/lang/String;->length()I

    move-result v2

    const/4 v3, 0x0

    :goto_1
    if-ge v3, v2, :cond_7

    invoke-virtual {v0, v3}, Ljava/lang/String;->charAt(I)C

    move-result v4

    const/16 v5, 0x2e

    if-ne v4, v5, :cond_2

    const-string v4, "_2e"

    invoke-virtual {v1, v4}, Ljava/lang/StringBuffer;->append(Ljava/lang/String;)Ljava/lang/StringBuffer;

    :goto_2
    add-int/lit8 v3, v3, 0x1

    goto :goto_1

    :cond_2
    invoke-virtual {v0, v3}, Ljava/lang/String;->charAt(I)C

    move-result v4

    const/16 v5, 0x5f

    if-ne v4, v5, :cond_3

    const-string v4, "%5f"

    invoke-virtual {v1, v4}, Ljava/lang/StringBuffer;->append(Ljava/lang/String;)Ljava/lang/StringBuffer;

    goto :goto_2

    :cond_3
    invoke-virtual {v0, v3}, Ljava/lang/String;->charAt(I)C

    move-result v4

    const/16 v5, 0x25

    if-ne v4, v5, :cond_4

    const-string v4, "_"

    invoke-virtual {v1, v4}, Ljava/lang/StringBuffer;->append(Ljava/lang/String;)Ljava/lang/StringBuffer;

    goto :goto_2

    :cond_4
    invoke-virtual {v0, v3}, Ljava/lang/String;->charAt(I)C

    move-result v4

    const/16 v5, 0x2b

    if-ne v4, v5, :cond_5

    const-string v4, "_20"

    invoke-virtual {v1, v4}, Ljava/lang/StringBuffer;->append(Ljava/lang/String;)Ljava/lang/StringBuffer;

    goto :goto_2

    :cond_5
    invoke-virtual {v0, v3}, Ljava/lang/String;->charAt(I)C

    move-result v4

    const/16 v5, 0x26

    if-ne v4, v5, :cond_6

    const-string v4, "_26"

    invoke-virtual {v1, v4}, Ljava/lang/StringBuffer;->append(Ljava/lang/String;)Ljava/lang/StringBuffer;

    goto :goto_2

    :cond_6
    invoke-virtual {v0, v3}, Ljava/lang/String;->charAt(I)C

    move-result v4

    invoke-virtual {v1, v4}, Ljava/lang/StringBuffer;->append(C)Ljava/lang/StringBuffer;

    goto :goto_2

    :cond_7
    new-instance v0, Ljava/lang/String;

    invoke-direct {v0, v1}, Ljava/lang/String;-><init>(Ljava/lang/StringBuffer;)V

    goto :goto_0
.end method

.method public makeUnicodeString(Ljava/lang/String;)Ljava/lang/String;
    .locals 3

    if-eqz p1, :cond_0

    const-string v0, ""

    invoke-virtual {p1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_1

    :cond_0
    const-string v0, ""

    :goto_0
    return-object v0

    :cond_1
    const-string v0, "_"

    const-string v1, "%"

    invoke-static {p1, v0, v1}, Lcom/nbi/map/data/Place;->b(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    const-string v1, "%5f"

    const-string v2, "_"

    invoke-static {v0, v1, v2}, Lcom/nbi/map/data/Place;->b(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    const/4 v1, 0x0

    :try_start_0
    const-string v2, "UTF-8"

    invoke-static {v0, v2}, Lnbisdk/qo;->decode(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
    :try_end_0
    .catch Ljava/io/UnsupportedEncodingException; {:try_start_0 .. :try_end_0} :catch_0

    move-result-object v0

    goto :goto_0

    :catch_0
    move-exception v0

    invoke-virtual {v0}, Ljava/io/UnsupportedEncodingException;->printStackTrace()V

    move-object v0, v1

    goto :goto_0
.end method

.method public setLocation(Lcom/nbi/map/data/MapLocation;)V
    .locals 2

    iput-object p1, p0, Lcom/nbi/map/data/Place;->zn:Lcom/nbi/map/data/MapLocation;

    iget-object v0, p0, Lcom/nbi/map/data/Place;->zm:Lnbisdk/ej;

    invoke-direct {p0}, Lcom/nbi/map/data/Place;->la()Lnbisdk/so;

    move-result-object v1

    invoke-virtual {v0, v1}, Lnbisdk/ej;->b(Lnbisdk/so;)V

    return-void
.end method

.method public setName(Ljava/lang/String;)V
    .locals 1

    iget-object v0, p0, Lcom/nbi/map/data/Place;->zm:Lnbisdk/ej;

    invoke-virtual {v0, p1}, Lnbisdk/ej;->setName(Ljava/lang/String;)V

    return-void
.end method

.method public setServerModTime(J)V
    .locals 1

    iget-object v0, p0, Lcom/nbi/map/data/Place;->zm:Lnbisdk/ej;

    invoke-virtual {v0, p1, p2}, Lnbisdk/ej;->setServerModTime(J)V

    return-void
.end method

.method public toByteArray()[B
    .locals 6

    const/4 v5, 0x0

    new-instance v0, Ljava/lang/StringBuffer;

    const/16 v1, 0x400

    invoke-direct {v0, v1}, Ljava/lang/StringBuffer;-><init>(I)V

    const/4 v1, 0x0

    iget-object v2, p0, Lcom/nbi/map/data/Place;->zm:Lnbisdk/ej;

    invoke-virtual {v2}, Lnbisdk/ej;->getName()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {p0, v2}, Lcom/nbi/map/data/Place;->makeSafeString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v2}, Ljava/lang/StringBuffer;->append(Ljava/lang/String;)Ljava/lang/StringBuffer;

    const-string v2, "."

    invoke-virtual {v0, v2}, Ljava/lang/StringBuffer;->append(Ljava/lang/String;)Ljava/lang/StringBuffer;

    iget-object v2, p0, Lcom/nbi/map/data/Place;->zm:Lnbisdk/ej;

    invoke-virtual {v2}, Lnbisdk/ej;->y()Lnbisdk/so;

    move-result-object v2

    invoke-virtual {v2}, Lnbisdk/so;->getAirport()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {p0, v2}, Lcom/nbi/map/data/Place;->makeSafeString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v2}, Ljava/lang/StringBuffer;->append(Ljava/lang/String;)Ljava/lang/StringBuffer;

    const-string v2, "."

    invoke-virtual {v0, v2}, Ljava/lang/StringBuffer;->append(Ljava/lang/String;)Ljava/lang/StringBuffer;

    iget-object v2, p0, Lcom/nbi/map/data/Place;->zm:Lnbisdk/ej;

    invoke-virtual {v2}, Lnbisdk/ej;->y()Lnbisdk/so;

    move-result-object v2

    invoke-virtual {v2}, Lnbisdk/so;->getFreeform()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {p0, v2}, Lcom/nbi/map/data/Place;->makeSafeString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v2}, Ljava/lang/StringBuffer;->append(Ljava/lang/String;)Ljava/lang/StringBuffer;

    const-string v2, "."

    invoke-virtual {v0, v2}, Ljava/lang/StringBuffer;->append(Ljava/lang/String;)Ljava/lang/StringBuffer;

    iget-object v2, p0, Lcom/nbi/map/data/Place;->zm:Lnbisdk/ej;

    invoke-virtual {v2}, Lnbisdk/ej;->y()Lnbisdk/so;

    move-result-object v2

    invoke-virtual {v2}, Lnbisdk/so;->getAddress()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {p0, v2}, Lcom/nbi/map/data/Place;->makeSafeString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v2}, Ljava/lang/StringBuffer;->append(Ljava/lang/String;)Ljava/lang/StringBuffer;

    const-string v2, "."

    invoke-virtual {v0, v2}, Ljava/lang/StringBuffer;->append(Ljava/lang/String;)Ljava/lang/StringBuffer;

    iget-object v2, p0, Lcom/nbi/map/data/Place;->zm:Lnbisdk/ej;

    invoke-virtual {v2}, Lnbisdk/ej;->y()Lnbisdk/so;

    move-result-object v2

    invoke-virtual {v2}, Lnbisdk/so;->getStreet()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {p0, v2}, Lcom/nbi/map/data/Place;->makeSafeString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v2}, Ljava/lang/StringBuffer;->append(Ljava/lang/String;)Ljava/lang/StringBuffer;

    const-string v2, "."

    invoke-virtual {v0, v2}, Ljava/lang/StringBuffer;->append(Ljava/lang/String;)Ljava/lang/StringBuffer;

    iget-object v2, p0, Lcom/nbi/map/data/Place;->zm:Lnbisdk/ej;

    invoke-virtual {v2}, Lnbisdk/ej;->y()Lnbisdk/so;

    move-result-object v2

    invoke-virtual {v2}, Lnbisdk/so;->getCrossStreet()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {p0, v2}, Lcom/nbi/map/data/Place;->makeSafeString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v2}, Ljava/lang/StringBuffer;->append(Ljava/lang/String;)Ljava/lang/StringBuffer;

    const-string v2, "."

    invoke-virtual {v0, v2}, Ljava/lang/StringBuffer;->append(Ljava/lang/String;)Ljava/lang/StringBuffer;

    iget-object v2, p0, Lcom/nbi/map/data/Place;->zm:Lnbisdk/ej;

    invoke-virtual {v2}, Lnbisdk/ej;->y()Lnbisdk/so;

    move-result-object v2

    invoke-virtual {v2}, Lnbisdk/so;->getCity()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {p0, v2}, Lcom/nbi/map/data/Place;->makeSafeString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v2}, Ljava/lang/StringBuffer;->append(Ljava/lang/String;)Ljava/lang/StringBuffer;

    const-string v2, "."

    invoke-virtual {v0, v2}, Ljava/lang/StringBuffer;->append(Ljava/lang/String;)Ljava/lang/StringBuffer;

    iget-object v2, p0, Lcom/nbi/map/data/Place;->zm:Lnbisdk/ej;

    invoke-virtual {v2}, Lnbisdk/ej;->y()Lnbisdk/so;

    move-result-object v2

    invoke-virtual {v2}, Lnbisdk/so;->getCounty()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {p0, v2}, Lcom/nbi/map/data/Place;->makeSafeString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v2}, Ljava/lang/StringBuffer;->append(Ljava/lang/String;)Ljava/lang/StringBuffer;

    const-string v2, "."

    invoke-virtual {v0, v2}, Ljava/lang/StringBuffer;->append(Ljava/lang/String;)Ljava/lang/StringBuffer;

    iget-object v2, p0, Lcom/nbi/map/data/Place;->zm:Lnbisdk/ej;

    invoke-virtual {v2}, Lnbisdk/ej;->y()Lnbisdk/so;

    move-result-object v2

    invoke-virtual {v2}, Lnbisdk/so;->getState()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {p0, v2}, Lcom/nbi/map/data/Place;->makeSafeString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v2}, Ljava/lang/StringBuffer;->append(Ljava/lang/String;)Ljava/lang/StringBuffer;

    const-string v2, "."

    invoke-virtual {v0, v2}, Ljava/lang/StringBuffer;->append(Ljava/lang/String;)Ljava/lang/StringBuffer;

    iget-object v2, p0, Lcom/nbi/map/data/Place;->zm:Lnbisdk/ej;

    invoke-virtual {v2}, Lnbisdk/ej;->y()Lnbisdk/so;

    move-result-object v2

    invoke-virtual {v2}, Lnbisdk/so;->getPostalCode()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {p0, v2}, Lcom/nbi/map/data/Place;->makeSafeString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v2}, Ljava/lang/StringBuffer;->append(Ljava/lang/String;)Ljava/lang/StringBuffer;

    const-string v2, "."

    invoke-virtual {v0, v2}, Ljava/lang/StringBuffer;->append(Ljava/lang/String;)Ljava/lang/StringBuffer;

    iget-object v2, p0, Lcom/nbi/map/data/Place;->zm:Lnbisdk/ej;

    invoke-virtual {v2}, Lnbisdk/ej;->y()Lnbisdk/so;

    move-result-object v2

    invoke-virtual {v2}, Lnbisdk/so;->getCountry()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {p0, v2}, Lcom/nbi/map/data/Place;->makeSafeString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v2}, Ljava/lang/StringBuffer;->append(Ljava/lang/String;)Ljava/lang/StringBuffer;

    const-string v2, "."

    invoke-virtual {v0, v2}, Ljava/lang/StringBuffer;->append(Ljava/lang/String;)Ljava/lang/StringBuffer;

    iget-object v2, p0, Lcom/nbi/map/data/Place;->zm:Lnbisdk/ej;

    invoke-virtual {v2}, Lnbisdk/ej;->y()Lnbisdk/so;

    move-result-object v2

    invoke-virtual {v2}, Lnbisdk/so;->getAreaName()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {p0, v2}, Lcom/nbi/map/data/Place;->makeSafeString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v2}, Ljava/lang/StringBuffer;->append(Ljava/lang/String;)Ljava/lang/StringBuffer;

    const-string v2, "."

    invoke-virtual {v0, v2}, Ljava/lang/StringBuffer;->append(Ljava/lang/String;)Ljava/lang/StringBuffer;

    iget-object v2, p0, Lcom/nbi/map/data/Place;->zm:Lnbisdk/ej;

    invoke-virtual {v2}, Lnbisdk/ej;->y()Lnbisdk/so;

    move-result-object v2

    invoke-virtual {v2}, Lnbisdk/so;->getLatitude()D

    move-result-wide v2

    invoke-static {v2, v3}, Lcom/nbi/map/data/Place;->q(D)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {p0, v2}, Lcom/nbi/map/data/Place;->makeSafeString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v2}, Ljava/lang/StringBuffer;->append(Ljava/lang/String;)Ljava/lang/StringBuffer;

    const-string v2, "."

    invoke-virtual {v0, v2}, Ljava/lang/StringBuffer;->append(Ljava/lang/String;)Ljava/lang/StringBuffer;

    iget-object v2, p0, Lcom/nbi/map/data/Place;->zm:Lnbisdk/ej;

    invoke-virtual {v2}, Lnbisdk/ej;->y()Lnbisdk/so;

    move-result-object v2

    invoke-virtual {v2}, Lnbisdk/so;->getLongitude()D

    move-result-wide v2

    invoke-static {v2, v3}, Lcom/nbi/map/data/Place;->q(D)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {p0, v2}, Lcom/nbi/map/data/Place;->makeSafeString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v2}, Ljava/lang/StringBuffer;->append(Ljava/lang/String;)Ljava/lang/StringBuffer;

    const-string v2, "."

    invoke-virtual {v0, v2}, Ljava/lang/StringBuffer;->append(Ljava/lang/String;)Ljava/lang/StringBuffer;

    iget-object v2, p0, Lcom/nbi/map/data/Place;->zm:Lnbisdk/ej;

    invoke-virtual {v2}, Lnbisdk/ej;->getCategoriesCount()I

    move-result v2

    new-instance v3, Ljava/lang/Integer;

    invoke-direct {v3, v2}, Ljava/lang/Integer;-><init>(I)V

    invoke-virtual {v3}, Ljava/lang/Integer;->toString()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {p0, v3}, Lcom/nbi/map/data/Place;->makeSafeString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v0, v3}, Ljava/lang/StringBuffer;->append(Ljava/lang/String;)Ljava/lang/StringBuffer;

    const-string v3, "."

    invoke-virtual {v0, v3}, Ljava/lang/StringBuffer;->append(Ljava/lang/String;)Ljava/lang/StringBuffer;

    move v3, v5

    :goto_0
    if-ge v3, v2, :cond_0

    iget-object v4, p0, Lcom/nbi/map/data/Place;->zm:Lnbisdk/ej;

    invoke-virtual {v4, v3}, Lnbisdk/ej;->Q(I)Lnbisdk/iv;

    move-result-object v4

    invoke-virtual {v4}, Lnbisdk/iv;->getCode()Ljava/lang/String;

    move-result-object v4

    invoke-virtual {p0, v4}, Lcom/nbi/map/data/Place;->makeSafeString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v0, v4}, Ljava/lang/StringBuffer;->append(Ljava/lang/String;)Ljava/lang/StringBuffer;

    const-string v4, "."

    invoke-virtual {v0, v4}, Ljava/lang/StringBuffer;->append(Ljava/lang/String;)Ljava/lang/StringBuffer;

    iget-object v4, p0, Lcom/nbi/map/data/Place;->zm:Lnbisdk/ej;

    invoke-virtual {v4, v3}, Lnbisdk/ej;->Q(I)Lnbisdk/iv;

    move-result-object v4

    invoke-virtual {v4}, Lnbisdk/iv;->getName()Ljava/lang/String;

    move-result-object v4

    invoke-virtual {p0, v4}, Lcom/nbi/map/data/Place;->makeSafeString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v0, v4}, Ljava/lang/StringBuffer;->append(Ljava/lang/String;)Ljava/lang/StringBuffer;

    const-string v4, "."

    invoke-virtual {v0, v4}, Ljava/lang/StringBuffer;->append(Ljava/lang/String;)Ljava/lang/StringBuffer;

    add-int/lit8 v3, v3, 0x1

    goto :goto_0

    :cond_0
    iget-object v2, p0, Lcom/nbi/map/data/Place;->zm:Lnbisdk/ej;

    invoke-virtual {v2}, Lnbisdk/ej;->getPhoneNumberCount()I

    move-result v2

    new-instance v3, Ljava/lang/Integer;

    invoke-direct {v3, v2}, Ljava/lang/Integer;-><init>(I)V

    invoke-virtual {v3}, Ljava/lang/Integer;->toString()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {p0, v3}, Lcom/nbi/map/data/Place;->makeSafeString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v0, v3}, Ljava/lang/StringBuffer;->append(Ljava/lang/String;)Ljava/lang/StringBuffer;

    const-string v3, "."

    invoke-virtual {v0, v3}, Ljava/lang/StringBuffer;->append(Ljava/lang/String;)Ljava/lang/StringBuffer;

    move v3, v5

    :goto_1
    if-ge v3, v2, :cond_1

    new-instance v4, Ljava/lang/Integer;

    iget-object v5, p0, Lcom/nbi/map/data/Place;->zm:Lnbisdk/ej;

    invoke-virtual {v5, v3}, Lnbisdk/ej;->P(I)Lnbisdk/eq;

    move-result-object v5

    invoke-virtual {v5}, Lnbisdk/eq;->getType()I

    move-result v5

    invoke-direct {v4, v5}, Ljava/lang/Integer;-><init>(I)V

    invoke-virtual {v4}, Ljava/lang/Integer;->toString()Ljava/lang/String;

    move-result-object v4

    invoke-virtual {p0, v4}, Lcom/nbi/map/data/Place;->makeSafeString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v0, v4}, Ljava/lang/StringBuffer;->append(Ljava/lang/String;)Ljava/lang/StringBuffer;

    const-string v4, "."

    invoke-virtual {v0, v4}, Ljava/lang/StringBuffer;->append(Ljava/lang/String;)Ljava/lang/StringBuffer;

    iget-object v4, p0, Lcom/nbi/map/data/Place;->zm:Lnbisdk/ej;

    invoke-virtual {v4, v3}, Lnbisdk/ej;->P(I)Lnbisdk/eq;

    move-result-object v4

    invoke-virtual {v4}, Lnbisdk/eq;->getCountryCode()Ljava/lang/String;

    move-result-object v4

    invoke-virtual {p0, v4}, Lcom/nbi/map/data/Place;->makeSafeString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v0, v4}, Ljava/lang/StringBuffer;->append(Ljava/lang/String;)Ljava/lang/StringBuffer;

    const-string v4, "."

    invoke-virtual {v0, v4}, Ljava/lang/StringBuffer;->append(Ljava/lang/String;)Ljava/lang/StringBuffer;

    iget-object v4, p0, Lcom/nbi/map/data/Place;->zm:Lnbisdk/ej;

    invoke-virtual {v4, v3}, Lnbisdk/ej;->P(I)Lnbisdk/eq;

    move-result-object v4

    invoke-virtual {v4}, Lnbisdk/eq;->ev()Ljava/lang/String;

    move-result-object v4

    invoke-virtual {p0, v4}, Lcom/nbi/map/data/Place;->makeSafeString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v0, v4}, Ljava/lang/StringBuffer;->append(Ljava/lang/String;)Ljava/lang/StringBuffer;

    const-string v4, "."

    invoke-virtual {v0, v4}, Ljava/lang/StringBuffer;->append(Ljava/lang/String;)Ljava/lang/StringBuffer;

    iget-object v4, p0, Lcom/nbi/map/data/Place;->zm:Lnbisdk/ej;

    invoke-virtual {v4, v3}, Lnbisdk/ej;->P(I)Lnbisdk/eq;

    move-result-object v4

    invoke-virtual {v4}, Lnbisdk/eq;->getNumber()Ljava/lang/String;

    move-result-object v4

    invoke-virtual {p0, v4}, Lcom/nbi/map/data/Place;->makeSafeString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v0, v4}, Ljava/lang/StringBuffer;->append(Ljava/lang/String;)Ljava/lang/StringBuffer;

    const-string v4, "."

    invoke-virtual {v0, v4}, Ljava/lang/StringBuffer;->append(Ljava/lang/String;)Ljava/lang/StringBuffer;

    add-int/lit8 v3, v3, 0x1

    goto :goto_1

    :cond_1
    invoke-virtual {v0}, Ljava/lang/StringBuffer;->length()I

    move-result v2

    const/4 v3, 0x1

    sub-int/2addr v2, v3

    invoke-virtual {v0, v2}, Ljava/lang/StringBuffer;->deleteCharAt(I)Ljava/lang/StringBuffer;

    new-instance v2, Ljava/lang/String;

    invoke-direct {v2, v0}, Ljava/lang/String;-><init>(Ljava/lang/StringBuffer;)V

    :try_start_0
    const-string v0, "UTF-8"

    invoke-virtual {v2, v0}, Ljava/lang/String;->getBytes(Ljava/lang/String;)[B
    :try_end_0
    .catch Ljava/io/UnsupportedEncodingException; {:try_start_0 .. :try_end_0} :catch_0

    move-result-object v0

    :goto_2
    return-object v0

    :catch_0
    move-exception v0

    invoke-virtual {v0}, Ljava/io/UnsupportedEncodingException;->printStackTrace()V

    move-object v0, v1

    goto :goto_2
.end method

.method public toString()Ljava/lang/String;
    .locals 1

    iget-object v0, p0, Lcom/nbi/map/data/Place;->zm:Lnbisdk/ej;

    invoke-virtual {v0}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method public updateCategory(ILcom/nbi/map/data/Category;)V
    .locals 1
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/lang/IndexOutOfBoundsException;
        }
    .end annotation

    iget-object v0, p0, Lcom/nbi/map/data/Place;->zm:Lnbisdk/ej;

    invoke-virtual {p2}, Lcom/nbi/map/data/Category;->getInternalObject()Ljava/lang/Object;

    move-result-object p0

    check-cast p0, Lnbisdk/iv;

    invoke-virtual {v0, p1, p0}, Lnbisdk/ej;->a(ILnbisdk/iv;)V

    return-void
.end method

.method public updatePhoneNumber(ILcom/nbi/map/data/Phone;)V
    .locals 1
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/lang/IndexOutOfBoundsException;
        }
    .end annotation

    iget-object v0, p0, Lcom/nbi/map/data/Place;->zm:Lnbisdk/ej;

    invoke-virtual {p2}, Lcom/nbi/map/data/Phone;->getInternalObject()Ljava/lang/Object;

    move-result-object p0

    check-cast p0, Lnbisdk/eq;

    invoke-virtual {v0, p1, p0}, Lnbisdk/ej;->a(ILnbisdk/eq;)V

    return-void
.end method
